{{useCss "/app-pages/css/public/media.scss","*"}}
<div class="_top">
    <div class="box">
        <div class="title">微信开发平台</div>
        <div class="navs">
            {{#if loginer.wx_config}}
            <a class="item" event-click="{{'$Event.top.refreshAccessToken'}}">更新AccessToken</a>
            {{/if}}
            <div class="item">
                信息管理
                <div class="itembox">
                    <href to='/admin/main.html' class="nav">基本信息</href>
                    <href to='/admin/wxconfig.html' class="nav">微信配置</href>
                    <href to='/admin/funs.html' class="nav">粉丝列表</href>
                </div>
            </div>
            {{#if loginer.wx_config}}
            <div class="item">
                功能设置
                <div class="itembox">
                    <href to="/admin/createbutton.html" class="nav">
                        创建按钮
                    </href>
                    <href to="/admin/message.html" class="nav">
                        消息管理
                    </href>
                    <!-- <href class="nav">
                        基本功能
                    </href> -->
                </div>
            </div>
            <div class="item">
                资源内容
                <div class="itembox">
                    <href to="/admin/sourcearticle.html" class="nav">
                        图文消息
                    </href>
                    <href to="/admin/sourceimages.html" class="nav">
                        图片消息
                    </href>
                    <!-- <href to="/admin/sourceautio.html" class="nav">
                        语音消息
                    </href> -->
                    <!-- <href to="/admin/sourcevedio.html" class="nav">
                        视频消息
                    </href> -->
                </div>
            </div>
            {{/if}}
        </div>
    </div>
</div>